﻿using B.S.Packaged.ErrorCode;
using MediatR;

namespace B.S.Packaged.WebAPI.Write.Applications.Commands.CompletedStorageCommand
{
    public class AddCompletedStorageCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 工厂
        /// </summary>
        public string factory { get; set; }
        /// <summary>
        ///工单号
        /// </summary>
        public string workOrderNo { get; set; }
        /// <summary>
        /// 工单类型
        /// </summary>
        public string workoOderType { get; set; }
        /// <summary>
        /// 成品产品批次号
        /// </summary>
        public string finishedProductBatch { get; set; }
        /// <summary>
        /// 事务起始时间
        /// </summary>
        public DateTime transactionTime { get; set; }
        /// <summary>
        /// 事务结束时间
        /// </summary>
        public DateTime transactionEndTime { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        public string productionLine { get; set; }
        /// <summary>
        ///班组
        /// </summary>
        public string team { get; set; }
        /// <summary>
        ///班次
        /// </summary>
        public string shift { get; set; }
        /// <summary>
        ///物料编码
        /// </summary>
        public string materialCode { get; set; }
        /// <summary>
        ///物料编号说明
        /// </summary>
        public string MaterialDescription { get; set; }
        /// <summary>
        ///库存
        /// </summary>
        public string inventory { get; set; }




        /// <summary>
        /// 货位
        /// </summary>
        public string Freight { get; set; }
        /// <summary>
        ///计划完工数量
        /// </summary>
        public int PlannedCompletions { get; set; }
        /// <summary>
        /// 入出类型
        /// </summary>
        public string accessType { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 实际入库数量
        /// </summary>
        public int InboundQuantity { get; set; }
        /// <summary>
        ///千升酒量
        /// </summary>
        public decimal Drinker { get; set; }
        /// <summary>
        ///ERP工单
        /// </summary>
        public string ERPTickets { get; set; }
        /// <summary>
        ///票号
        /// </summary>
        public string TicketNumber { get; set; }
        /// <summary>
        ///操作人
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 业务时间
        /// </summary>
        public DateTime BusinseeTime { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperatingTime { get; set; }



        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; }

    }
}
